/**
 * 
 */
package de.gee.erep.client.calls.rpc;

import com.google.gwt.user.client.rpc.AsyncCallback;

import de.gee.erep.shared.rpctypes.action.ServiceAction;
import de.gee.erep.shared.rpctypes.responses.ServiceResponse;

/**
 * @author Matthew Gee created: 10.05.2011
 */
public interface CitizenServiceAsync {

	/**
	 * 
	 * @param <T> Type
	 * @param action the Action
	 * @param callback the Callback
	 */
	<T extends ServiceResponse> void execute(ServiceAction<T> action,
			AsyncCallback<T> callback);

}
